<include file="Public:header1" />
<div id="content">
        <div class="container-fluid">
          <div class="row-fluid">
            <div class="span12">
              <div class="widget-box">
                <div class="widget-title">
                  <span class="icon"><i class="icon-th"></i></span>
                  <h5>添加顶级分类</h5>
                </div>
                <div class="widget-content nopadding">
                  <form action="/Category/secate_do" method="POST" id="turntable_form" class="form-horizontal">
                                      <input type="hidden" require name="topcatehaschild" value="1">
                                      <foreach name="topcate" item="vo">
                                      <div class="control-group">
                                          <label class="control-label">父类名字</label>
                                          <input type="hidden" require name="cateparent" value="{$vo.cateid}">
                                          <div class="controls">
                                              <input type="text" class="uneditable-input" require name="topname" value="{$vo.catename}">
                                              <span class="help-inline"></span>
                                          </div>
                                      </div>
                                      </foreach>
                                      <div class="control-group">
                                          <label class="control-label">分类名字</label>
                                          <div class="controls">
                                              <input type="text" require name="catename" value="">
                                              <span class="help-inline"></span>
                                          </div>
                                      </div>
                                      <div class="control-group">
                                          <label class="control-label">排序</label>
                                          <div class="controls">
                                              <input type="text" require name="catesort" value="">
                                              <span class="help-inline"></span>
                                          </div>
                                      </div>
                    <div class="form-actions">
                      <button type="submit" class="btn btn-success">保存</button>
                    </div>
                  </form>
                </div>
              </div>
            </div>
          </div>
        </div>
</div>
<div class="row-fluid">
  <div id="footer" class="span12"> 2014 &copy; am项目</div>
</div>
<script src="__PUBLIC__/Matrix/js/jquery.min.js"></script> 
<script src="__PUBLIC__/Matrix/js/bootstrap.min.js"></script> 
<script src="__PUBLIC__/Matrix/js/matrix.js"></script>
</body>
</html>